#ifndef __DRIVER_TICK_H
#define __DRIVER_TICK_H
#include "py32f0xx_hal.h"
extern uint32_t tickMs;
// static uint32_t ms_def = (HSI_VALUE / 1000000);
static inline uint32_t millis(void)
{
    return tickMs; // ms
}
#endif
